home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
usbdor40.arc
/
SEND.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-11-09
|
588b
|
33 lines
echo off
rem ---------------------------------
rem USBBSDOR passes these parameters
rem %1 = baud rate
rem %2 = com port
rem %3 = file name to send
rem %4 = protocol choice (letter)
rem ---------------------------------
if "%4" == "X" goto :Xmodem
if "%4" == "C" goto :Xmodem
if "%4" == "O" goto :1Kxmodem
if "%4" == "G" goto :YmodemG
if "%4" == "Z" goto :Zmodem
goto :end
:Xmodem
DSZ port %2 pB4096 sx %3
goto :end
:1Kxmodem
DSZ port %2 pB4096 sx -k %3
goto :end
:YmodemG
DSZ port %2 pB4096 sb %3
goto :end
:Zmodem
DSZ port %2 pB4096 sz -m %3
:end